package com.example.material.service;

import com.example.material.entity.Material;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;

/**
 * 物料服务接口
 */
public interface MaterialService {
    Material create(Material material);
    Material update(Long id, Material material);
    void delete(Long id);
    Material getById(Long id);
    List<Material> getAll();
    void importFromExcel(MultipartFile file);
    byte[] exportToExcel();
} 